package com.zkyc.framework.common.pojo;

import java.util.Date;
import java.io.Serializable;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Tag)实体类
 *
 * @author libingchuan
 * @since 2022-05-30 09:36:58
 */
@TableName("web_tag")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Tag implements Serializable {
    private static final long serialVersionUID = 623750092177855580L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 栏目id
     */
    private Integer columnId;
    /**
     * key
     */
    private String tagKey;
    /**
     * value
     */
    private String tagValue;

    @TableField(exist = false)
    private JSONArray tagValueJson;
    /**
     * 排序
     */
    private Integer tagOrder;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreated;
    /**
     * 逻辑删
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDeleted;


}

